package com.xy.core.web.listener;


import javax.servlet.ServletContextEvent;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.web.context.ContextLoaderListener;

import com.xy.core.util.SpringBeanUtils;

public class StartupListener extends ContextLoaderListener
{
  private static Log logger = LogFactory.getLog(StartupListener.class);

  public void contextInitialized(ServletContextEvent paramServletContextEvent)
  {
    super.contextInitialized(paramServletContextEvent);
    SpringBeanUtils.init(paramServletContextEvent.getServletContext());
  
  }
}

 